<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:sijyp="http://java.sun.com/jsf/composite/sijyp"
	template="#{bienManager.vincularHechoMode ? '/templates/simpleTemplate.xhtml' : '/templates/template.xhtml'}">
	<ui:define name="body">
		<h:form>
			<rich:panel style="width:100%">
				<f:facet name="header">
				Registrar Persona Natural
			</f:facet>
				<ui:include
					src="../../resources/sijyp/personas/crearPersonaNatural.xhtml" />
				<h:panelGroup style="text-align:center;" layout="block">
					<a4j:commandButton value="Guardar" id="guardarButton"
						action="#{personasController.guardar()}" render="@form" />
					<a4j:commandButton value="Cancelar" id="cancelButton"
						action="#{personasController.cancelar()}" execute="@this"
						render="@form" />
				</h:panelGroup>
			</rich:panel>
		</h:form>
	</ui:define>
</ui:composition>
